var i,cnt,tmp;
cnt=ds_grid_height(global.users);
tmp=ds_grid_create(0,0);
for (i=0;i<cnt;i++)
{
if (ds_grid_get(global.users,0,i)==-1) 
{
ds_grid_resize(tmp,ds_grid_width(global.users),ds_grid_height(tmp)+1);
ds_grid_set(tmp,0,ds_grid_height(tmp)-1,ds_grid_get(global.users,0,i));
ds_grid_set(tmp,1,ds_grid_height(tmp)-1,ds_grid_get(global.users,1,i));
ds_grid_set(tmp,2,ds_grid_height(tmp)-1,ds_grid_get(global.users,2,i));
}
 else
if (ds_grid_get(global.users,0,i).lgn!=argument0)
{
ds_grid_resize(tmp,ds_grid_width(global.users),ds_grid_height(tmp)+1);
ds_grid_set(tmp,0,ds_grid_height(tmp)-1,ds_grid_get(global.users,0,i));
ds_grid_set(tmp,1,ds_grid_height(tmp)-1,ds_grid_get(global.users,1,i));
ds_grid_set(tmp,2,ds_grid_height(tmp)-1,ds_grid_get(global.users,2,i));

} else with (ds_grid_get(global.users,0,i)) instance_destroy();

}
if !instance_exists(usr) instance_create(10000,10000,usr);

global.users=tmp;

